package service

import (
	"fmt"
	"goapi/entity"
	"goapi/model/manager"
)

type Manager struct {
}

func (m Manager) SelectManagerList(enManager entity.Manager) ([]entity.Manager, error) {

	fmt.Println(enManager)
	return manager.SelectManagerList(enManager, 1, 10)
}

func (m Manager) SelectManagerInfoByAccount(account string) (entity.Manager, error) {
	fmt.Println(account)
	return manager.SelectManagerInfoByAccount(account)
}

func (m Manager) SelectManagerInfoById(managerId int) entity.Manager {
	//TODO implement me
	panic("implement me")
}
